<template>
    <Info ref="childRef"/>
</template>

<script setup lang="ts">
    import { numberLiteralTypeAnnotation } from '@babel/types';
import {ref, onMounted} from 'vue';
    import Info from './info-setup.vue'

    const childRef = ref(null);
    // const childRef = ref<{count: number, handle: () => void } | null>(null);

    onMounted(() => {
        console.log(childRef.value);
        // childRef.value? .handle();
    })
</script>

<style lang="scss" scoped>

</style>